package com.demo.spring.test.bean;

public class Wife {

    private Husband husband;
    private IParent parent;

    public String queryHusband() {
        return "Wife.husband、Parent.callParent：" + parent.callParent();
    }

    public Husband getHusband() {
        return husband;
    }

    public void setHusband(Husband husband) {
        this.husband = husband;
    }

    public IParent getParent() {
        return parent;
    }

    public void setParent(IParent parent) {
        this.parent = parent;
    }
}
